package com.hospital.register.dto.cmn;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@ApiModel(value = "查询字典名称的参数")
@Data
@ToString
public class DictNameQueryDto implements Serializable {

    @ApiModelProperty(value = "字典编码", required = false, notes = "数据访问层忽略此参数")
    private String dictCode;

    @ApiModelProperty(value = "父节点的 id", required = false, notes = "仅数据访问层使用")
    private Long parentId;

    @ApiModelProperty(value = "字典值", required = true)
    private Long value;
}
